package com.ytjj.qmyx.admin.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 退款、提现请求微信接口记录
 */
public class RefundTradeRecord implements Serializable {
    private Integer id;

    /**
     * 商户订单号
     *
     * @mbg.generated
     */
    private String outTradeNo;

    /**
     * 退款、提现用户id
     *
     * @mbg.generated
     */
    private Integer userId;

    /**
     * 退款、提现金额
     *
     * @mbg.generated
     */
    private BigDecimal amount;

    /**
     * 请求时间
     *
     * @mbg.generated
     */
    private Date createTime;

    /**
     * 接口响应结果 1-成功 0-失败
     *
     * @mbg.generated
     */
    private Integer status;

    /**
     * 接口响应报文
     *
     * @mbg.generated
     */
    private String responseMessage;

    /**
     * 接口请求报文
     *
     * @mbg.generated
     */
    private String requestMessage;

    /**
     * 操作类型
     *
     * @mbg.generated
     */
    private String requestUrl;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOutTradeNo() {
        return outTradeNo;
    }

    public void setOutTradeNo(String outTradeNo) {
        this.outTradeNo = outTradeNo;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getResponseMessage() {
        return responseMessage;
    }

    public void setResponseMessage(String responseMessage) {
        this.responseMessage = responseMessage;
    }

    public String getRequestMessage() {
        return requestMessage;
    }

    public void setRequestMessage(String requestMessage) {
        this.requestMessage = requestMessage;
    }

    public String getRequestUrl() {
        return requestUrl;
    }

    public void setRequestUrl(String requestUrl) {
        this.requestUrl = requestUrl;
    }

    @Override
    public String toString() {
        return "RefundTradeRecord{" +
                "id=" + id +
                ", outTradeNo='" + outTradeNo + '\'' +
                ", userId=" + userId +
                ", amount=" + amount +
                ", createTime=" + createTime +
                ", status=" + status +
                ", responseMessage='" + responseMessage + '\'' +
                ", requestMessage='" + requestMessage + '\'' +
                ", requestUrl='" + requestUrl + '\'' +
                '}';
    }
}